Issues With IIS Hosting Two Domains From Same Folder [closed]

Posted by Bob Mc on Pro Webmasters See other posts from Pro Webmasters or by Bob Mc
Published on 2011-01-05T16:09:36Z Indexed on 2011/01/05 16:59 UTC
Read the original article Hit count: 249

Filed under:
|

I have two different domain names that resolve to the same ASP.Net site. Both domains are hosted on the same server, which runs Windows Server 2003 and IIS6. The sites are differentiated in IIS Manager using host headers. However, both of the sites point to the same folder on the local drive for the site's page files.

I am occasionally experiencing an ASP.Net error that says "The state information is invalid for this page and might be corrupted." I'm the site developer so I've addressed all the relevant code-related causes for this issue. However, I was wondering whether having two domains/sites sharing the same folder for an ASP.Net application might be causing this intermittent error. Also, is this generally a bad practice? Should I make separate, duplicate folders for each of the domains? Seems like that can become a maintenance headache.

© Pro Webmasters or respective owner

Related posts about iis6

Related posts about iis